package com.example.heipictureserver.controller;

/*
 *@Description 类功能简要描述
 *@Author bwg
 *@Date 2025/1/27 13:25
 */

import com.example.heipictureserver.common.BaseResponse;
import com.example.heipictureserver.common.ResultUtils;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/")
public class MainController {

    /**
     * 健康检查
     */
    @GetMapping("/health")
    public BaseResponse<String> health() {
        return ResultUtils.success("成功");
    }

}